<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/Js/Base.js" />
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<load href="__PUBLIC__/Js/Form/CheckForm.js" />
<load href="__PUBLIC__/Js/common.js" />
 <script language="JavaScript">
<!--
var PUBLIC	 =	 '__PUBLIC__';
ThinkAjax.image = [	 '__PUBLIC__/Images/loading2.gif', '__PUBLIC__/Images/ok.gif','__PUBLIC__/Images/update.gif' ]
ThinkAjax.updateTip	=	'登录中～';
function loginHandle(data,status){
	if (status==1){
		$('result').innerHTML	=	'<span style="color:blue"><img SRC="__PUBLIC__/Images/ok.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle" > 登录成功！3 秒后跳转～</span>';
		$('form1').reset();
		window.location = '__URL__';
	}
}
function keydown(e){
	var e = e || event;
	if (e.keyCode==13)
	{
	ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result');
	}
}
function fleshVerify(type){ 
//重载验证码
var timenow = new Date().getTime();
if (type)
{
$('verifyImg').src= '__URL__/verify/adv/1/'+timenow;
}else{
$('verifyImg').src= '__URL__/verify/'+timenow;
}

}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
 </script>
<!--[if IE 6]>
<script src="__PUBLIC__/Js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript"></script>
<![endif]-->  
<title>系统登录</title> 

<style>
body{
	background-color:#4771a0; font-size:12px;
	background:url("../Public/Images/bg1.jpg") repeat-x top;	
}
li{ list-style:none;}
#head{margin:0 auto; width:750px; height:110px; padding-top:50px;}
#foot{margin:0 auto; width:750px; height:30px; padding-top:35px; text-align:center; color:#FFF;}
#content{ 
	margin:0 auto; width:750px; height:320px; background-color:#FFF;
}
#left{
	float:left; width:290px; height:300px;
	padding:20px 30px 0px 80px;
}
#right{
	float:right; width:220px; background-color:#e6eff8; height:220px; 
	color:#535353; font-size:12px; padding:100px 30px 0px 40px; line-height:23px; margin:0px;
}
#left li{ margin:10px 1px;}
.t1{ color:#426791; font-size:18px; }
.input1{
	border: 1px solid #cccccc; width:220px; height:26px; line-height:26px;
}
.input2{
	border: 1px solid #cccccc; width:165px; height:20px; line-height:20px;
}
.hand{ cursor:pointer;}
.result{border:1px solid #d4d4d4; background:#FFC; padding:6px 12px; margin:2px 15px; line-height:185%; color:#393939; font-weight:bold; width:40%; float:right;}
.none{display:none}
.box-shadow{
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=5);/*for ie6,7,8*/
background-color: #eee;
-moz-box-shadow:2px 2px 5px #969696;/*firefox*/
-webkit-box-shadow:2px 2px 5px #969696;/*webkit*/
box-shadow:2px 2px 5px #969696;/*opera或ie9*/
}
.red{ color:#F00;}
a:link {
	color:#323232;
	text-decoration: none;
}
a:visited {
	color:#323232;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
</style>
</head>

<body onload="MM_preloadImages('../Public/Images/loginbtn_over.png')">
  	<div id="head">
    	<div><img class="hh" src="../Public/Images/logo1.png"/></div>
    </div>
	<div id="content" class="box-shadow">
    	<form method='post' name="login" id="form1" >
    	<div id="left">
        	<li class="t1"><img src="../Public/Images/ti1.jpg"/></li>
            <li>用户名:</li>
            <li><input type="text" class="input1" check="Require" warning="请输入帐号" name="account" /></li>
            <li>密码:</li>
            <li><input type="password" class="input1" check="Require" warning="请输入密码" name="password" /></li>
            <li>验证码:</li>
            <li><input type="text" onkeydown="keydown(event)" class="input2" check="Require" warning="请输入验证码" name="verify" />
          <img id="verifyImg" src="__URL__/verify/" onclick="fleshVerify()" border="0" alt="点击刷新验证码" style="cursor:pointer" align="absmiddle" /></li>
          <li>
          <input type="hidden" name="ajax" value="1" />
          <a href="#" style="float:left;" onclick="ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result')" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','../Public/Images/loginbtn_over.png',1)"><img src="../Public/Images/loginbtn.png" name="Image5" width="109" height="36" border="0" id="Image5" /></a><dd id="result" class="result none"></dd>
          </li>
        </div>
        <div id="right">
        欢迎使用珠海市香洲区教科培工作计划安排页面，强烈建议使用1024*768及以上分辨率，为了数据的安全性及更好的浏览效果及用户体验请使用<a href="http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie" target="_blank">IE7及以上版本浏览器</a>，或使用<a href="http://www.google.cn/chrome/" target="_blank">谷歌Chrome</a>、<a href="http://chrome.360.cn/" target="_blank">360极速浏览器</a>等谷歌内核浏览器。 </div>
        </form>
    </div>
    <div id="foot">
    	<div>&copy;香洲区教科培2012&nbsp;{$Think.config.version}{$Think.config.ver2}</div>
    </div>
</body>
</html>
<!--[if IE 6]>
<script>DD_belatedPNG.fix(".hh");</script>
<![endif]-->
